home *** CD-ROM | disk | FTP | other *** search
/ World of Video / World of Video.iso / gfxprograms / 3dprograms / t3dlib / source / read_protos.h < prev    next >
Text File  |  1995-02-13  |  3KB  |  126 lines

  1. /* Prototypes for functions defined in
  2. read.c
  3.  */
  4.  
  5. static void warn(int curline);
  6.  
  7. static void parse_word(register char * name,
  8.                        int lim,
  9.                        int up);
  10.  
  11. static int get_line(register char * strin,
  12.                     WORLD * w);
  13.  
  14. static long get_num(void);
  15.  
  16. static double get_FRACT(void);
  17.  
  18. static void stage_RGB(XYZ_st * st);
  19.  
  20. static void stuff_XYZ(XYZ_st * st);
  21.  
  22. static void stuff_RGB(RGB_st * st);
  23.  
  24. WORLD * read_TTDDD(FILE * file);
  25.  
  26. static void process_INFO(WORLD * world);
  27.  
  28. OBJECT * create_object(void);
  29.  
  30. static void process_OBJ(WORLD * world);
  31.  
  32. static OBJECT * process_MXTR(OBJECT * obj,
  33.                              WORLD * world);
  34.  
  35. static void desc_copy(DESC * edesc,
  36.                       DESC * desc);
  37.  
  38. static OBJECT * process_EXTR(OBJECT * obj,
  39.                              WORLD * world);
  40.  
  41. void move_extr(register OBJECT * obj,
  42.                register MTRX * mtrx);
  43.  
  44. void OUT_MEM(char * s);
  45.  
  46. static void malloc_arrays(register int i,
  47.                           register DESC * desc);
  48.  
  49. static void process_DESC(DESC ** orig,
  50.                          WORLD * world);
  51.  
  52. static void process_ISTG(WORLD * world);
  53.  
  54. static void process_SOBJ(WORLD * world);
  55.  
  56. static void process_OSIZ(SOBJ * sobj,
  57.                          WORLD * world);
  58.  
  59. static void process_POSN(SOBJ * sobj,
  60.                          WORLD * world);
  61.  
  62. static void process_ALGN(SOBJ * sobj,
  63.                          WORLD * world);
  64.  
  65. static void process_PALN(SOBJ * sobj,
  66.                          WORLD * world);
  67.  
  68. static void process_TALN(SOBJ * sobj,
  69.                          WORLD * world);
  70.  
  71. static void process_PTH2(SOBJ * sobj,
  72.                          WORLD * world);
  73.  
  74. static void process_GLB2(SOBJ * sobj,
  75.                          WORLD * world);
  76.  
  77. static void process_AXIS(SOBJ * sobj,
  78.                          WORLD * world);
  79.  
  80. static void process_LITE(SOBJ * sobj,
  81.                          WORLD * world);
  82.  
  83. static void process_FILE(SOBJ * sobj,
  84.                          WORLD * world);
  85.  
  86. /* Prototypes for functions defined in
  87. readtddd.c
  88.  */
  89.  
  90.  
  91.  
  92. WORLD * read_World(FILE * file);
  93.  
  94. WORLD * read_TDDD(FILE * file);
  95.  
  96. WORLD * read_ISTG(FILE * file);
  97.  
  98. SOBJ * add_SOBJ(ISTG * istg);
  99.  
  100. void insert_into_sorted_list(PALN ** ppaln,
  101.                              PALN * paln);
  102.  
  103. void delete_unused_frames(PALN ** orig,
  104.                           int frame);
  105.  
  106. void inverse(register double * in,
  107.              register double * out);
  108.  
  109. void adjoint(register double * in,
  110.              register double * out);
  111.  
  112. OBJECT * load_staging_object(char * filename,
  113.                              MTRX * mtrx);
  114.  
  115. void load_staging_frame_objects(WORLD * world,
  116.                                 int frame);
  117.  
  118. /* Prototypes for functions defined in
  119. freeworld.c
  120.  */
  121.  
  122. OBJECT * free_object(OBJECT * object);
  123.  
  124. WORLD * free_World(WORLD * World);
  125.  
  126.